//
//  Teximeter_coreAppDelegate.h
//  Teximeter_core
//
//  Created by BEA DONG HWAN on 11. 2. 9..
//  Copyright 2011 Ajou University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>


@class MeterViewController;

@interface Teximeter_coreAppDelegate : NSObject <UIApplicationDelegate> {
    
    UIWindow *window;
	MeterViewController* meter;
    
@private
    NSManagedObjectContext *managedObjectContext_;
    NSManagedObjectModel *managedObjectModel_;
    NSPersistentStoreCoordinator *persistentStoreCoordinator_;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (NSURL *)applicationDocumentsDirectory;
- (void)saveContext;

@end

